package com.drivingtheproject.wifie.wifiexpert;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

/**
 * Created by Saurabh dubey on 15.08.2014.
 */
public class BaseActivity extends Activity {

    ImageView image;
    LinearLayout linBase;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        super.setContentView(R.layout.base_layout);
       linBase = (LinearLayout)findViewById(R.id.containerView);
    }

    @Override
    public void setContentView(int id) {
        LayoutInflater inflater = (LayoutInflater)getBaseContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        inflater.inflate(id, linBase);
    }

}
